package com.easy.flux.web.repository;

import com.easy.flux.web.entity.Balance;
import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Flux;

/**
 * @Packge com.giit.forward.repository
 * @Autor naibin.lin
 * @Description
 * @Version 1.0
 * @Date 2022-07-06 10:41
 */
@Repository
public interface BalanceRepository extends ReactiveCrudRepository<Balance, Long> {


    @Query("select * from ac_balance")
    Flux<Balance> xxx() ;

}
